package edu.pdx.cs.cs542s07.minichess;

/**
 * A position on the chess board. 
 */
class Square {
	int row; 
	int col;
	public Square(int row, int col) {
		super();
		this.col = col;
		this.row = row;
	}
	public String toString() {
		StringBuffer buff = new StringBuffer();
		buff.append((char)(this.col + 'a'));
		buff.append((char)(this.row + '1'));
		return buff.toString();
	}
}